//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by Fernflower decompiler)
//

package com.ruoyi.live.base.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import java.io.Serializable;

public class TaskUserLog implements Serializable {
    private static final long serialVersionUID = 1L;
    @TableId(
            value = "id",
            type = IdType.AUTO
    )
    private Long id;
    private Long taskUserId;
    private String data;
    private Long createUser;
    private Long createTime;

    public TaskUserLog() {
    }

    public Long getId() {
        return this.id;
    }

    public Long getTaskUserId() {
        return this.taskUserId;
    }

    public String getData() {
        return this.data;
    }

    public Long getCreateUser() {
        return this.createUser;
    }

    public Long getCreateTime() {
        return this.createTime;
    }

    public TaskUserLog setId(final Long id) {
        this.id = id;
        return this;
    }

    public TaskUserLog setTaskUserId(final Long taskUserId) {
        this.taskUserId = taskUserId;
        return this;
    }

    public TaskUserLog setData(final String data) {
        this.data = data;
        return this;
    }

    public TaskUserLog setCreateUser(final Long createUser) {
        this.createUser = createUser;
        return this;
    }

    public TaskUserLog setCreateTime(final Long createTime) {
        this.createTime = createTime;
        return this;
    }

    public String toString() {
        return "TaskUserLog(id=" + this.getId() + ", taskUserId=" + this.getTaskUserId() + ", data=" + this.getData() + ", createUser=" + this.getCreateUser() + ", createTime=" + this.getCreateTime() + ")";
    }

    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        } else if (!(o instanceof TaskUserLog)) {
            return false;
        } else {
            TaskUserLog other = (TaskUserLog)o;
            if (!other.canEqual(this)) {
                return false;
            } else {
                label71: {
                    Object this$id = this.getId();
                    Object other$id = other.getId();
                    if (this$id == null) {
                        if (other$id == null) {
                            break label71;
                        }
                    } else if (this$id.equals(other$id)) {
                        break label71;
                    }

                    return false;
                }

                Object this$taskUserId = this.getTaskUserId();
                Object other$taskUserId = other.getTaskUserId();
                if (this$taskUserId == null) {
                    if (other$taskUserId != null) {
                        return false;
                    }
                } else if (!this$taskUserId.equals(other$taskUserId)) {
                    return false;
                }

                label57: {
                    Object this$data = this.getData();
                    Object other$data = other.getData();
                    if (this$data == null) {
                        if (other$data == null) {
                            break label57;
                        }
                    } else if (this$data.equals(other$data)) {
                        break label57;
                    }

                    return false;
                }

                Object this$createUser = this.getCreateUser();
                Object other$createUser = other.getCreateUser();
                if (this$createUser == null) {
                    if (other$createUser != null) {
                        return false;
                    }
                } else if (!this$createUser.equals(other$createUser)) {
                    return false;
                }

                Object this$createTime = this.getCreateTime();
                Object other$createTime = other.getCreateTime();
                if (this$createTime == null) {
                    if (other$createTime == null) {
                        return true;
                    }
                } else if (this$createTime.equals(other$createTime)) {
                    return true;
                }

                return false;
            }
        }
    }

    protected boolean canEqual(final Object other) {
        return other instanceof TaskUserLog;
    }

    public int hashCode() {
        boolean PRIME = true;
        int result = 1;
        Object $id = this.getId();
        int result1 = result * 59 + ($id == null ? 43 : $id.hashCode());
        Object $taskUserId = this.getTaskUserId();
        result1 = result * 59 + ($taskUserId == null ? 43 : $taskUserId.hashCode());
        Object $data = this.getData();
        result1 = result * 59 + ($data == null ? 43 : $data.hashCode());
        Object $createUser = this.getCreateUser();
        result1 = result * 59 + ($createUser == null ? 43 : $createUser.hashCode());
        Object $createTime = this.getCreateTime();
        result1 = result * 59 + ($createTime == null ? 43 : $createTime.hashCode());
        return result1;
    }
}
